/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package WS;

import CommonProfile.Sign_InLocal;
import Entity.PersonalInfo;
import javax.ejb.EJB;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.ejb.Stateless;

/**
 *
 * @author WinKiQue58
 */
@WebService(serviceName = "NewWebService")
@Stateless()
public class NewWebService {
    @EJB
    private Sign_InLocal ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")

    @WebMethod(operationName = "SignIn_S3R4")
    public PersonalInfo SignIn_S3R4(@WebParam(name = "name") String name, @WebParam(name = "pass") String pass) {
        return ejbRef.SignIn_S3R4(name, pass);
    }
    
}
